
#ifndef _UTIL_POINT_H_
#define _UTIL_POINT_H_

#include "xtypes.h"
#include "util_datadef.h"
#include "xmath.h"
#include "util_matrix.h"


point3_t xGenPoint3(const point4_t p4d);
point3_t xGenPoint3(float_t x, float_t y, float_t z);

point4_t xGenPoint4(const point3_t p3d);
point4_t xGenPoint4(float_t x, float_t y, float_t z, float_t w);



point4_t operator*(point4_t p4d, matrix4x4_t m44);
point4_t& operator*=(point4_t& p4d, matrix4x4_t m44);




#endif _UTIL_POINT_H_